<?php if (!defined('SHUIPF_VERSION')) exit(); ?>
<script type="text/javascript" src="/statics/job/js/getToday.js"></script>
<script type="text/javascript" src="/statics/job/js/member.js"></script>
<div class="headertop">
    <div class="dqtime">

        <script language="javascript">var d, s = "";
            var x = new Array("星期日", "星期一", "星期二","星期三","星期四", "星期五","星期六");
            d = new Date();
            s+=d.getFullYear()+"年"+(d.getMonth() + 1)+"月"+d.getDate()+"日";
            s+= x[d.getDay()];
            document.writeln(s);

        </script>


        <span id="nongli"></span>
    </div>
   <div class="seleccity">
       <select id="area" onchange="city()" name="selectcity">
       <?php
       $area = M('linkage')->where(['parentid'=>0,'child'=>1])->field('linkageid,name')->select();
       foreach($area as $v){
           if($v['linkageid']==intval(cookie('cityId'))){
               $html .='<option  selected value="'.$v[linkageid].'">'.$v['name'].'</option>';
           }else{
               $html .='<option  value="'.$v[linkageid].'">'.$v['name'].'</option>';
           }
       }
       echo $html;
       ?>
        </select>

   </div>
    <div class="topother">
    		<if condition="$modelid eq 4">
               <div class="logintoprg">
                    {$username}您好，您是企业用户
                    <a href="{:U('job/position')}">职位管理</a>
                    <a href="{:U('job/position/jobcheck')}">收到简历</a>
                    <a href="javascript:void()" class="logout" data-url="{:U('/member/index/logout')}">退出</a>
               </div>
           </if>
           <if condition="$modelid eq 5">
                <div class="logintoprg">
                    {$username}您好，您是个人用户
                    <a href="{:U('job/resume')}">我的简历</a>
                    <a href="javascript:void()" class="logout" data-url="{:U('/member/index/logout')}">退出</a>
                </div>
           </if>
   </div>
   <div class="clear"></div>
</div>
<div class="jobbanner"></div>
<div class="jxmenu jxtymgbt">
    <ul>
        <li><a href="/" class="selected">首页</a></li>
        <li><a href="http://www.jsy360.cn/html/news/">行业动态</a></li>
        <li><a href="http://www.jsy360.cn/html/train/">学院动态</a></li>
        <li><a href="http://www.jsy360.cn/html/learn/">学习园地</a></li>
        <li><a href="http://www.jsy360.cn/html/practice/">管理实务</a></li>
        <li><a href="http://www.jsy360.cn/html/drivers-home/">司机家园</a></li>
        <li><a href="http://www.jsy360.cn/html/basis/">基础知识</a></li>
        <li><a href="http://www.jsy360.cn/html/help/">新手指南</a></li>
        <li><a href="http://www.jsy360.cn/html/expert/">专家风采</a></li>
        <li class="last"><a target="_blank" href="http://safe.jsy360.cn/">警示教育</a></li>
    </ul>
</div>
<script type="text/javascript">
    function city(){
        var id = $('#area').val();
        $.ajax({
            url:'{:U("job/index/areaid")}',
            type:'post',
            data:{'id':id},
            success:function(e){
                location.reload(true);
            }
        });

    }
</script>